package com.fit.lov.user;

import java.util.Map;
import org.apache.tapestry5.OptionModel;

import com.fit.entities.user.User;




public class UserOptionModel implements OptionModel {
	private User user;
	
	public UserOptionModel(User user) {
		this.user = user;
	}

	public Map<String, String> getAttributes() {
		return null;
	}

	public String getLabel() {		
		return this.user.getUserName();
	}

	public Object getValue() {
		return this.user;
	}

	public boolean isDisabled() {
		return false;
	}
}
